package com.bfsuol.yihang.documentFiles.service;


import com.bfsuol.utils.FileUtils;
import com.bfsuol.yihang.documentFiles.api.CommandDocumentFilesService;
import com.bfsuol.yihang.documentFiles.domain.DocumentFilesService;
import com.bfsuol.yihang.documentFiles.entity.DocumentFilesEntity;
import com.bfsuol.yihang.documents.api.CommandDocumentService;
import com.bfsuol.yihang.documents.domain.DocumentService;
import com.bfsuol.yihang.documents.dto.DocumentDTO;
import com.bfsuol.yihang.documents.entity.DocumentEntity;
import com.bfsuol.yihang.file.domain.FileManagerService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.Arrays;
import java.util.Date;

@Service
public class CommandDocumentFilesServiceImpl implements CommandDocumentFilesService {


    @Autowired
    private DocumentFilesService documentFilesService;

    @Override
    public void deleteById(Long id) {
        documentFilesService.removeById(id);
    }


}
